package com.ailesson.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ailesson.common.reply.PageResult;
import com.ailesson.order.entity.OrderDetEntity;
import com.ailesson.order.model.req.OrderDetQueryReq;
import com.ailesson.order.model.req.OrderDetReq;
import com.ailesson.order.model.reply.OrderDetReply;

/**
 * 订单明细 订单明细
 *
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-12 21:32:50
 */
public interface OrderDetService extends IService<OrderDetEntity> {

    /**
     * 分页查询
     * @param params
     * @return
     */
    PageResult queryPage(OrderDetQueryReq params);

    /**
     * 查询信息
     * @param id
     * @return
     */
    OrderDetReply info(Long id);

    /**
     * 更新信息
     * @param orderDet
     */
    void update(OrderDetReq orderDet);

    /**
     * 新增
     * @param orderDet
     */
    Long add(OrderDetReq orderDet);
}

